package com.bdult.vh.service;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdult.vh.dao.MemberDAO;

@Service
public class MemberService {
	@Autowired
	private MemberDAO memberDAO;
	
	public HashMap<String,String> loginCheck(HashMap map) {
		return memberDAO.loginCheck(map);
	}
	
	public int idCheck(String id) {
		return memberDAO.idCheck(id);
	}
	
	public int isMember(Map<String, String> paramMap) {
		return memberDAO.isMember(paramMap);
	}
	
	public int isMember2(Map<String, String> paramMap) {
		return memberDAO.isMember2(paramMap);
	}
	
	public Map<String, Object> getMemberData(Map<String, String> paramMap) {
		return memberDAO.getMemberData(paramMap);
	}
	
	public int insertMember(Map<String, Object> paramMap) {
		return memberDAO.insertMember(paramMap);
	}
	
	public int updateMemberPSWD(Map<String, Object> paramMap) {
		return memberDAO.updateMemberPSWD(paramMap);
	}
	
	public int dropMember(Map<String, Object> paramMap) {
		return memberDAO.dropMember(paramMap);
	}
	
	//김진영 과장님 작업 - 포인트 조회
	public Map<String, Object> getMemberPoint(Map<String, Object> paramMap) {
		return memberDAO.getMemberPoint(paramMap);
	}
	
	
	//############# 2014-05-01 심윤 추가 : 주문페이지 회원정보 호출
	public Map<String, Object> getMemberView(String CSTMID) {
		return memberDAO.getMemberView(CSTMID);
	}
}
